package com.zp.self.module.令牌桶.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zp.self.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
* <p>
* 角色信息表 Mapper 接口
* </p>
*
* @author zengpeng
* @since 2020-12-15
*/
@Mapper
@Repository
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> selectRolePermissionByUserId(Long userId);

}
